package org.xg.study.pd;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName AuthInfo
 * @date 2021/9/16 9:40
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AuthInfo {
    private String code;
    private String info = "";

    public AuthInfo(String code, String... infos) {
        this.code = code;
        for (String str : infos) {
            this.info = info.concat(str);
        }
    }
}
